﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooCoreCommonQualityHelperWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Core.Common.QualityHelper);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
			
			
			
			
			
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 17, 14, 3);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "InitAdjusterParams", _m_InitAdjusterParams_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetCurrentAdjusterSetting", _m_SetCurrentAdjusterSetting_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyAdjuster", _m_ApplyAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyCameraFrustumAdjuster", _m_ApplyCameraFrustumAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyOutputScreenQualityAdjuster", _m_ApplyOutputScreenQualityAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyPostEffectAdjuster", _m_ApplyPostEffectAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyRenderPrecisionAdjuster", _m_ApplyRenderPrecisionAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyResolutionAdjuster", _m_ApplyResolutionAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyShaderLevelAdjuster", _m_ApplyShaderLevelAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyLightShadowAdjuster", _m_ApplyLightShadowAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyFpsLimitAdjuster", _m_ApplyFpsLimitAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ChangeInteractingState", _m_ChangeInteractingState_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyPveSceneQualityAdjuster", _m_ApplyPveSceneQualityAdjuster_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "LoadPcSetting", _m_LoadPcSetting_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ApplyPcSetting", _m_ApplyPcSetting_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetCacheDeviceGrade", _m_GetCacheDeviceGrade_xlua_st_);
            
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "QualityMgr", _g_get_QualityMgr);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "PveQualityListener", _g_get_PveQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "ResolutionQualityListener", _g_get_ResolutionQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "UnityQualityListener", _g_get_UnityQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "ShaderQualityListener", _g_get_ShaderQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "PveCameraQualityListener", _g_get_PveCameraQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "RpgCameraQualityListener", _g_get_RpgCameraQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "FpsLimitQualityListener", _g_get_FpsLimitQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "GameObjectQualityListener", _g_get_GameObjectQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "ParticleQualityListener", _g_get_ParticleQualityListener);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "CurrentAdjusterSetting", _g_get_CurrentAdjusterSetting);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "AntialiasingMode", _g_get_AntialiasingMode);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "ShadowDistance", _g_get_ShadowDistance);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "ShadowResolution", _g_get_ShadowResolution);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "AntialiasingMode", _s_set_AntialiasingMode);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "ShadowDistance", _s_set_ShadowDistance);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "ShadowResolution", _s_set_ShadowResolution);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "Yoozoo.Core.Common.QualityHelper does not have a constructor!");
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "Yoozoo.Core.Common.QualityHelper does not have a constructor!");
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitAdjusterParams_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Mars.Got.QualityEnum _quality;translator.Get(L, 1, out _quality);
                    
                    Yoozoo.Core.Common.QualityHelper.InitAdjusterParams( _quality );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCurrentAdjusterSetting_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Mars.Got.QualityEnum _quality;translator.Get(L, 1, out _quality);
                    
                    Yoozoo.Core.Common.QualityHelper.SetCurrentAdjusterSetting( _quality );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Core.Common.IQualityListener _qualityListener = (Yoozoo.Core.Common.IQualityListener)translator.GetObject(L, 1, typeof(Yoozoo.Core.Common.IQualityListener));
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyAdjuster( _qualityListener );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyCameraFrustumAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _farDistance = (float)LuaAPI.lua_tonumber(L, 1);
                    float _fov = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyCameraFrustumAdjuster( _farDistance, _fov );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyOutputScreenQualityAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _hdr = LuaAPI.lua_toboolean(L, 1);
                    int _msaaLevel = LuaAPI.xlua_tointeger(L, 2);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyOutputScreenQualityAdjuster( _hdr, _msaaLevel );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyPostEffectAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _style = LuaAPI.xlua_tointeger(L, 1);
                    int _level = LuaAPI.xlua_tointeger(L, 2);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyPostEffectAdjuster( _style, _level );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyRenderPrecisionAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _quality = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyRenderPrecisionAdjuster( _quality );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyResolutionAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _resolutionPercent = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyResolutionAdjuster( _resolutionPercent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyShaderLevelAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _characterLevel = LuaAPI.xlua_tointeger(L, 1);
                    int _sceneLevel = LuaAPI.xlua_tointeger(L, 2);
                    int _fxLevel = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyShaderLevelAdjuster( _characterLevel, _sceneLevel, _fxLevel );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyLightShadowAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _lightLevel = LuaAPI.xlua_tointeger(L, 1);
                    int _shadowLevel = LuaAPI.xlua_tointeger(L, 2);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyLightShadowAdjuster( _lightLevel, _shadowLevel );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1&& translator.Assignable<Yoozoo.Core.Common.IQualityListener>(L, 1)) 
                {
                    Yoozoo.Core.Common.IQualityListener _qualityListener = (Yoozoo.Core.Common.IQualityListener)translator.GetObject(L, 1, typeof(Yoozoo.Core.Common.IQualityListener));
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyLightShadowAdjuster( _qualityListener );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Core.Common.QualityHelper.ApplyLightShadowAdjuster!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyFpsLimitAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _level = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyFpsLimitAdjuster( _level );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangeInteractingState_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _isInteracting = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Core.Common.QualityHelper.ChangeInteractingState( _isInteracting );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyPveSceneQualityAdjuster_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _npcCount = LuaAPI.xlua_tointeger(L, 1);
                    int _carCount = LuaAPI.xlua_tointeger(L, 2);
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyPveSceneQualityAdjuster( _npcCount, _carCount );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_LoadPcSetting_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Core.Common.QualityHelper.LoadPcSetting(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ApplyPcSetting_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Core.Common.IQualityListener _qualityListener = (Yoozoo.Core.Common.IQualityListener)translator.GetObject(L, 1, typeof(Yoozoo.Core.Common.IQualityListener));
                    
                    Yoozoo.Core.Common.QualityHelper.ApplyPcSetting( _qualityListener );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCacheDeviceGrade_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                        var gen_ret = Yoozoo.Core.Common.QualityHelper.GetCacheDeviceGrade(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_QualityMgr(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.QualityMgr);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_PveQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.PveQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ResolutionQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.ResolutionQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_UnityQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.UnityQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ShaderQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.ShaderQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_PveCameraQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.PveCameraQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_RpgCameraQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.RpgCameraQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_FpsLimitQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.FpsLimitQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_GameObjectQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.GameObjectQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ParticleQualityListener(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.ParticleQualityListener);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CurrentAdjusterSetting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.CurrentAdjusterSetting);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AntialiasingMode(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.AntialiasingMode);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ShadowDistance(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushinteger(L, Yoozoo.Core.Common.QualityHelper.ShadowDistance);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ShadowResolution(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Core.Common.QualityHelper.ShadowResolution);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_AntialiasingMode(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			UnityEngine.Rendering.Universal.AntialiasingMode gen_value;translator.Get(L, 1, out gen_value);
				Yoozoo.Core.Common.QualityHelper.AntialiasingMode = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_ShadowDistance(RealStatePtr L)
        {
		    try {
                
			    Yoozoo.Core.Common.QualityHelper.ShadowDistance = LuaAPI.xlua_tointeger(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_ShadowResolution(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			UnityEngine.Rendering.Universal.ShadowResolution gen_value;translator.Get(L, 1, out gen_value);
				Yoozoo.Core.Common.QualityHelper.ShadowResolution = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
